/*
 * @Author: 13177709051 3506463075@qq.com
 * @Date: 2024-10-19 20:45:28
 * @LastEditors: 13177709051 3506463075@qq.com
 * @LastEditTime: 2024-10-20 13:07:18
 * @FilePath: /linux13/textenv.c
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#include <stdio.h>

int main(int argc, char *argv[], char *env[])
{
    for(int i = 0; i < argc; i++)
    {
        printf("argv[%d]: %s\n", i, argv[i]);
    }

    for(int i = 0; env[i]; i++)
    {
        printf("env[%d]: %s\n", i, env[i]);
    }

    return 0;
}